package com.im.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: szw
 * @Date: 2021/5/11 13:12
 */
@Data
@AllArgsConstructor
@Builder
public class MessageEntity {

    private String pushId; // 唯一标识

    private Integer code; // 200成功

    private String data;

    private String sendUserId;

    private String sendClient;

    private String targetUserId;

    private List<String> targetUserIds;

    private String targetClient;

    private Date createTime;

    private Integer readStatus; // 0 未读， 1已读

    private Integer pushType; // 0 普通消息，1全局消息所有人

}
